package com.hjxr.quota.define.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * @author
 */
@Data
@TableName("QUOTA_DIM_RELATION_DETAIL")
@KeySequence(value = "seq_quota_dim_relation_detail", clazz = Integer.class)
public class QuotaDimRelationDetail extends Model<QuotaDimRelationDetail> {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 指标ID
     */
    private Integer quotaId;

    /**
     * 维度ID
     */
    private Integer dimensionId;

    /**
     * 根维度id 其实这个还是放在维度表好 啧啧 先这样呗
     * */
    private Integer rootDimId;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;
}
